package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_activity
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class TActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动形式 */
    @Excel(name = "活动形式")
    private Long activityType;

    /** 开展时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开展时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 参加人数 */
    @Excel(name = "参加人数")
    private Long participantsNum;

    /** 教育内容 */
    @Excel(name = "教育内容")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityType(Long activityType) 
    {
        this.activityType = activityType;
    }

    public Long getActivityType() 
    {
        return activityType;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setParticipantsNum(Long participantsNum) 
    {
        this.participantsNum = participantsNum;
    }

    public Long getParticipantsNum() 
    {
        return participantsNum;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityName", getActivityName())
            .append("activityType", getActivityType())
            .append("startTime", getStartTime())
            .append("participantsNum", getParticipantsNum())
            .append("content", getContent())
            .toString();
    }
}
